package com.neu.carbon.wms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.neu.common.annotation.Excel;
import com.neu.common.core.domain.TreeEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * testTree对象 test_tree
 * 
 * @author neuedu
 * @date 2025-03-16
 */
@ApiModel("testTree")
public class TestTree extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /**  编号 */
    @ApiModelProperty(" 编号")
    private Long id;

    /**  节点名称 */
    @ApiModelProperty(" 节点名称")
    @Excel(name = " 节点名称")
    private String nodeName;

    /** 内容 */
    @ApiModelProperty("内容")
    @Excel(name = "内容")
    private String content;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNodeName(String nodeName) 
    {
        this.nodeName = nodeName;
    }

    public String getNodeName() 
    {
        return nodeName;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("nodeName", getNodeName())
            .append("content", getContent())
            .toString();
    }
}
